//@代表src目录,es6引入模块语法
import http from '@/http/http';

const url = '';

export default {
  modifyPassword(data) {
    return http.post(`${url}/modifyPassword.do`, data);
  },
  login(data){
    return http.post(`${url}/login.do`, data);
  },
  getInfo: function () {
    return http.get("/getInfo.do");
},
logout: function () {
    return http.get("/logout.do");
}
};
